package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压力机详细表业务对象 n_laboratory_mechanics_press_machine_detail
 *
 * @author zyb
 * @date 2023-09-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryMechanicsPressMachineDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 试样主表id
     */
    @NotBlank(message = "试样主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleId;

    /**
     * 试样编号
     */
    @NotBlank(message = "试样编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sampleKey;

    /**
     * 试样序号
     */
    @NotBlank(message = "试样序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String detailKey;

    /**
     * 试验时间
     */
    @NotBlank(message = "试验时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String time;

    /**
     * 破坏荷载（单个试样的最大载荷结果）
     */
    @NotBlank(message = "破坏荷载（单个试样的最大载荷结果）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String load;

    /**
     * 抗压抗折强度（单个试样的最大强度结果）
     */
    @NotBlank(message = "抗压抗折强度（单个试样的最大强度结果）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stress;

    /**
     * 试样的原始数据点
     */
    @NotBlank(message = "试样的原始数据点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String datas;


}
